import axios from "axios";
import base from "./base.js"

const api = {
    getlogin(params) {
        return axios.post(base.baseUrl + base.login, params)
    },

    getReader(params) {
        return axios.get(base.baseUrl + base.router, {
            params
        })
    },

    getallproject() {
        return axios.get(base.baseUrl + base.allproject)
    },


    getblurAll(params) {
        return axios.get(base.baseUrl + base.blurAll, {
            params
        })
    },

    getpageAll(params) {
        return axios.get(base.baseUrl + base.pageAll, {
            params
        })
    },

    getpageparameter(params) {
        return axios.get(base.baseUrl + base.pageparameter, {
            params
        })
    },

    getNewsList() {
        return axios.get(base.baseUrl + base.NewsList)
    }

}

export default api;